package com.sise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zj
 */
@Data
@Accessors(chain = true)
public class ReceiverInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收货人信息id
     */
    @TableId(value = "receiver_info_id", type = IdType.AUTO)
    private Integer receiverInfoId;

    /**
     * 微信用户唯一标识
     */
    @TableField("open_id")
    private String openId;

    /**
     * 收货人姓名
     */
    @TableField("receiver_name")
    private String receiverName;

    /**
     * 收货人性别，保密，先生，女士。默认保密
     */
    @TableField("receiver_gender")
    private String receiverGender;

    /**
     * 收货人电话
     */
    @TableField("receiver_phone")
    private String receiverPhone;

    /**
     * 收货人地址(宿舍号)
     */
    @TableField("receiver_address")
    private String receiverAddress;

    /**
     * 是否设为默认地址，0：否，1：是
     */
    @TableField("is_default_address")
    private Integer isDefaultAddress;
}
